import Requests from './uni-request.js'
import { baseURL } from './IPconfig'


const apiURL = {
    /*仿it之家*/
    tabs: '/web/index/tabs', // tab选项
    articleList: '/web/index/articleList', // 列表 (id)
    getArticle: '/web/index/getArticle', // 详情 (id)
}

export default {

    tabs (params) {
        return Requests.get(baseURL.realmName + apiURL.tabs, params)
    },
    articleList (params) {
        return Requests.get(baseURL.realmName + apiURL.articleList, params)
    },
    getArticle (params) {
        return Requests.get(baseURL.realmName + apiURL.getArticle, params)
    },


}
